//
//  YZManagerModels.m
//  kuaiyi
//
//  Created by wyman on 16/5/5.
//
//

#import "YZManagerModels.h"

@implementation YZManagerModels

+(NSMutableArray *)arrWithArray:(NSArray *)array1{

    NSMutableArray *array = [NSMutableArray arrayWithCapacity:array1.count];
    
    for (NSDictionary *dic in array1) {
        //遍历
        YZManagerModels *models = [YZManagerModels initWithDict:dic];
        
        [array addObject:models];
    }
    return array;

}

+(instancetype)initWithDict:(NSDictionary *)dic{

    id obj = [[self alloc]init];
    
    [obj setValuesForKeysWithDictionary:dic];
    
    return obj;


}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{}

@end
